package com.org.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Shipping entity. @author MyEclipse Persistence Tools
 */

public class Shipping implements java.io.Serializable {

	// Fields

	private Long id;
	private Order order;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private String address;
	private String area;
	private String consignee;
	private String deliveryCorp;
	private String deliveryCorpCode;
	private String deliveryCorpUrl;
	private Double freight;
	private String memo;
	private String operator;
	private String phone;
	private String shippingMethod;
	private String sn;
	private String trackingNo;
	private String zipCode;
	private Set shippingItems = new HashSet(0);

	// Constructors

	/** default constructor */
	public Shipping() {
	}

	/** minimal constructor */
	public Shipping(Order order, Timestamp createDate, Timestamp modifyDate,
			String address, String area, String consignee, String deliveryCorp,
			String operator, String phone, String shippingMethod, String sn,
			String zipCode) {
		this.order = order;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.address = address;
		this.area = area;
		this.consignee = consignee;
		this.deliveryCorp = deliveryCorp;
		this.operator = operator;
		this.phone = phone;
		this.shippingMethod = shippingMethod;
		this.sn = sn;
		this.zipCode = zipCode;
	}

	/** full constructor */
	public Shipping(Order order, Timestamp createDate, Timestamp modifyDate,
			String address, String area, String consignee, String deliveryCorp,
			String deliveryCorpCode, String deliveryCorpUrl, Double freight,
			String memo, String operator, String phone, String shippingMethod,
			String sn, String trackingNo, String zipCode, Set shippingItems) {
		this.order = order;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.address = address;
		this.area = area;
		this.consignee = consignee;
		this.deliveryCorp = deliveryCorp;
		this.deliveryCorpCode = deliveryCorpCode;
		this.deliveryCorpUrl = deliveryCorpUrl;
		this.freight = freight;
		this.memo = memo;
		this.operator = operator;
		this.phone = phone;
		this.shippingMethod = shippingMethod;
		this.sn = sn;
		this.trackingNo = trackingNo;
		this.zipCode = zipCode;
		this.shippingItems = shippingItems;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Order getOrder() {
		return this.order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getArea() {
		return this.area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getConsignee() {
		return this.consignee;
	}

	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}

	public String getDeliveryCorp() {
		return this.deliveryCorp;
	}

	public void setDeliveryCorp(String deliveryCorp) {
		this.deliveryCorp = deliveryCorp;
	}

	public String getDeliveryCorpCode() {
		return this.deliveryCorpCode;
	}

	public void setDeliveryCorpCode(String deliveryCorpCode) {
		this.deliveryCorpCode = deliveryCorpCode;
	}

	public String getDeliveryCorpUrl() {
		return this.deliveryCorpUrl;
	}

	public void setDeliveryCorpUrl(String deliveryCorpUrl) {
		this.deliveryCorpUrl = deliveryCorpUrl;
	}

	public Double getFreight() {
		return this.freight;
	}

	public void setFreight(Double freight) {
		this.freight = freight;
	}

	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getShippingMethod() {
		return this.shippingMethod;
	}

	public void setShippingMethod(String shippingMethod) {
		this.shippingMethod = shippingMethod;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getTrackingNo() {
		return this.trackingNo;
	}

	public void setTrackingNo(String trackingNo) {
		this.trackingNo = trackingNo;
	}

	public String getZipCode() {
		return this.zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	public Set getShippingItems() {
		return this.shippingItems;
	}

	public void setShippingItems(Set shippingItems) {
		this.shippingItems = shippingItems;
	}

}